package com.gjs.management.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.gjs.common.pojo.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * <p>
 * 后台权限表
 * </p>
 *
 * @author JC_Ho
 * @since 2022-01-20
 */
@Getter
@Setter
@TableName("sys_permission")
@ApiModel(value = "SysPermission对象", description = "权限表")
public class SysPermission extends BaseEntity {

    @ApiModelProperty("父级权限ID")
    @TableField("pid")
    private Long pid;

    @ApiModelProperty("权限关键字")
    @TableField("permission_key")
    private String permissionKey;

    @ApiModelProperty("权限名称")
    @TableField("permission_name")
    private String permissionName;

}
